﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ContactList.Utils;
using ContactList.View;
using PureMVC.Interfaces;
using PureMVC.Patterns;

namespace ContactList.Controller
{
    public class ApplicationStartupCommand : SimpleCommand
    {
        public override void Execute(INotification notification)
        {
            base.Execute(notification);

            // Register Proxies

            // Register Mediators
            Facade.RegisterMediator(new ApplicationMediator(notification.Body));

            // Send notification
            SendNotification(Notifications.APP_STARTUP_COMPLETED);
        }
    }
}
